package com.exp.practice.base.vo;

import java.util.List;

/**
 * 给前端返回的信息对象
 * @param <T>
 */
public class ResultVo<T> {
    private boolean success;//操作是否成功标识
    private String msg;//返回信息
    private List<T> dataList;//返回数据
    private Integer count;////返回数据数

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<T> getDataList() {
        return dataList;
    }

    public void setDataList(List<T> dataList) {
        this.dataList = dataList;
    }
}
